<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../resource/dhtmlx/grid/codebase/grid.css">
    <script src="../../resource/dhtmlx/grid/codebase/grid.js"></script>
</head>
<body>
<div style="height:500px; width:800px" id="grid_container"></div>
<script>
    // creating dhtmlxGrid
    var grid = new dhx.Grid("grid_container", {
        // 列声明
        columns: [
            {width: 100, id: "a", header: [{text: "#"}]},
            {width: 100, id: "b", header: [{text: "Title"}]},
            {width: 200, id: "c", header: [{text: "Name"}]},
            {width: 200, id: "d", header: [{text: "Address"}]}
        ],
        // 设置行高
        headerRowHeight: 150,
        // 指定加载的数据
        data: [
            {a: 1, b: 11, c: 111, d: 1111, e: 11111}
            , {a: 2, b: 12, c: 112, d: 1111, e: 11112}
            , {a: 3, b: 13, c: 113, d: 1113, e: 11113}
        ],
        editable: true
    });

</script>
</body>
</html>